﻿using System;
using System.Web;

using Recon.Portal.DataObjects;

namespace Recon.Portal.WebUI
{
    public partial class ErrorOccurred : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //set the "back" link's url
            if ((Recon.Portal.DataObjects.User)Session["CurrentUserVO"] != null)
            {
                BackToPageLink.NavigateUrl = "ReconHome.aspx";
            }
            else
            {
                BackToPageLink.NavigateUrl = "ReconSignIn.aspx";
            }
        }
    }
}